import BasePath from "../config";

const storePer = {
    path: `${BasePath}/permission/store-permission`,
    name: 'store-permission',
    component: () => import('@/views/home/operate-panel/store-permission/store-permission.vue'),
    meta: {
        keepAlive: false
    }
}
const group = {
    path: `${BasePath}/permission/group`,
    name: 'group',
    component: () => import('@/views/home/operate-panel/store-permission/group.vue'),
    meta: {
        keepAlive: false
    }
}
const adminEdit = {
    path: `${BasePath}/permission/admin-edit`,
    name: 'admin-edit',
    component: () => import('@/views/home/operate-panel/store-permission/adminEdit.vue'),
    meta: {
        keepAlive: false
    }
}
const coupleEdit = {
    path: `${BasePath}/permission/couple-edit`,
    name: 'couple-edit',
    component: () => import('@/views/home/operate-panel/store-permission/coupleEdit.vue'),
    meta: {
        keepAlive: false
    }
}
const shopEdit = {
    path: `${BasePath}/permission/shop-edit`,
    name: 'shop-edit',
    component: () => import('@/views/home/operate-panel/store-permission/shopEdit.vue'),
    meta: {
        keepAlive: false
    }
}



export default {
    path: `${BasePath}/permission`,
    name: 'permission',
    component: () => import('@/views/home/operate-panel/store-permission/index.vue'),
    meta: {
        keepAlive: false
    },
    children: [
        storePer,
        group,
        adminEdit,
        coupleEdit,
        shopEdit
    ]
}


// import firstBasePath from "../../config";
// import secondBasePath from "../config";

// import sassList from './sass-list'
// import group from './group'
// import adminEdit from "./admin-edit"
// import coupleEdit from "./couple-edit"

// export default {
//     path: `${BasePath}/sass`,
//     name: 'sass',
//     component: () => import('@/views/home/control-panel/sass/index.vue'),
//     meta: {
//         keepAlive: false
//     },
//     children: [
//         sassList,
//         group,
//         adminEdit,
//         coupleEdit
//     ]
// }